import { axios } from '@/utils/request'
// 社保公积金方案
export function getTablePage(parameter) {
  return axios({
    url: '/sys/hr/insure/case/pageQueryHrInsureCase',
    method: 'post',
    data: parameter
  })
}
export function caseAdd(parameter) {
  return axios({
    url: '/sys/hr/insure/case/add',
    method: 'post',
    data: parameter
  })
}
export function caseDelete(parameter) {
  return axios({
    url: '/sys/hr/insure/case/delete',
    method: 'post',
    data: parameter
  })
}
export function caseConfigDetail(id) {
  return axios({
    url: '/sys/hr/insure/case/caseConfigDetail/' + id,
    method: 'get',
  })
}
export function ediCaseConfig(parameter) {
  return axios({
    url: '/sys/hr/insure/case/ediCaseConfig',
    method: 'post',
    data: parameter
  })
}